package com.jprocms.module.cms.dal.mysql.content;

import com.jpro.framework.mybatis.core.mapper.BaseMapperX;
import com.jprocms.module.cms.dal.dataobject.content.ContentTagDo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author jprocms
 * @description 针对表【cms_content_tag】的数据库操作Mapper
 * @createDate 2023-06-24 14:55:19
 * @Entity com.jprocms.module.cms.content.domain.ContentTag
 */
@Mapper
public interface ContentTagMapper extends BaseMapperX<ContentTagDo> {

    int deleteByPrimaryKey(Long id);

    int insert(ContentTagDo record);

    int insertSelective(ContentTagDo record);

    ContentTagDo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ContentTagDo record);

    int updateByPrimaryKey(ContentTagDo record);


    List<ContentTagDo> selectByContentId(Long contentId);

}
